/**
* GdkGrabOwnership:
- * @GDK_OWNERSHIP_NONE: All other devices' events are allowed.
- * @GDK_OWNERSHIP_WINDOW: Other devices' events are blocked for the grab window.
- * @GDK_OWNERSHIP_APPLICATION: Other devices' events are blocked for the whole application.
+ * @GDK_OWNERSHIP_NONE: All other devices’ events are allowed.
+ * @GDK_OWNERSHIP_WINDOW: Other devices’ events are blocked for the grab window.
+ * @GDK_OWNERSHIP_APPLICATION: Other devices’ events are blocked for the whole application.
*
* Defines how device grabs interact with other devices.
*/
* @GTK_UI_MANAGER_SEPARATOR: Create a separator.
* @GTK_UI_MANAGER_ACCELERATOR: Install an accelerator.
* @GTK_UI_MANAGER_POPUP_WITH_ACCELS: Same as %GTK_UI_MANAGER_POPUP, but the
- * actions' accelerators are shown.
+ * actions’ accelerators are shown.
*
* These enumeration values are used by gtk_ui_manager_add_ui() to determine
* what UI element to create.
* to use a custom cell area with a combo box. But construct properties
* are only initialized after instance init()
* functions have run, which means that using functions which rely on
- * the existence of the cell area in your subclass' init() function will
+ * the existence of the cell area in your subclass’ init() function will
* cause the default cell area to be instantiated. In this case, a provided
* construct property value will be ignored (with a warning, to alert
* you to the problem).
* Sets the #GtkCellLayoutDataFunc to use for @cell_layout.
*
* This function is used instead of the standard attributes mapping
- * for setting the column value, and should set the value of @cell_layout's
+ * for setting the column value, and should set the value of @cell_layout’s
* cell renderer(s) as appropriate.
*
* @func may be %NULL to remove a previously set function.
* color: #39f1f9;
* }
*
- * /* Theme spinbuttons' entry */
+ * /* Theme spinbuttons’ entry */
* GtkSpinButton.entry {
* color: #900185
* }
* gtk_scale_add_mark:
* @scale: a #GtkScale
* @value: the value at which the mark is placed, must be between
- * the lower and upper limits of the scales' adjustment
+ * the lower and upper limits of the scales’ adjustment
* @position: where to draw the mark. For a horizontal scale, #GTK_POS_TOP
* and %GTK_POS_LEFT are drawn above the scale, anything else below.
* For a vertical scale, #GTK_POS_LEFT and %GTK_POS_TOP are drawn to
* All scrollable widgets should do the following.
*
* - When a parent widget sets the scrollable child widget’s adjustments,
- * the widget should populate the adjustments'
+ * the widget should populate the adjustments’
* #GtkAdjustment:lower, #GtkAdjustment:upper,
* #GtkAdjustment:step-increment, #GtkAdjustment:page-increment and
* #GtkAdjustment:page-size properties and connect to the
* #GtkWidgetClass.size_allocate() function.
*
* - When the parent allocates space to the scrollable child widget,
- * the widget should update the adjustments' properties with new values.
+ * the widget should update the adjustments’ properties with new values.
*
* - When any of the adjustments emits the #GtkAdjustment::value-changed signal,
* the scrollable widget should scroll its contents.
* can be either attached explicitly to the context through
* gtk_style_context_add_provider(), or to the screen through
* gtk_style_context_add_provider_for_screen(). The resulting style is a
- * combination of all providers' information in priority order.
+ * combination of all providers’ information in priority order.
*
* For GTK+ widgets, any #GtkStyleContext returned by
* gtk_widget_get_style_context() will already have a #GtkWidgetPath, a
* to style your UI elements in a different way if needed so.
*
* If you are using custom styling on an applications, you probably want then
- * to make your style information prevail to the theme's, so you must use
+ * to make your style information prevail to the theme’s, so you must use
* a #GtkStyleProvider with the %GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
* priority, keep in mind that the user settings in
* `XDG_CONFIG_HOME/gtk-3.0/gtk.css` will
/* When these change we do a full restyling. Otherwise we try to figure out
* if we need to change things. */
#define GTK_STYLE_CONTEXT_RADICAL_CHANGE (GTK_CSS_CHANGE_NAME | GTK_CSS_CHANGE_CLASS | GTK_CSS_CHANGE_SOURCE)
-/* When these change we don't clear the cache. This takes more memory but makes
+/* When these change we don’t clear the cache. This takes more memory but makes
* things go faster. */
#define GTK_STYLE_CONTEXT_CACHED_CHANGE (GTK_CSS_CHANGE_STATE)
/**
* GtkStyleContext:parent:
*
- * Sets or gets the style context's parent. See gtk_style_context_set_parent()
+ * Sets or gets the style context’s parent. See gtk_style_context_set_parent()
* for details.
*
* Since: 3.4
}
}
-/* returns TRUE if someone called gtk_style_context_save() but hasn't
+/* returns TRUE if someone called gtk_style_context_save() but hasn’t
* called gtk_style_context_restore() yet.
- * In those situations we don't invalidate the context when somebody
+ * In those situations we don’t invalidate the context when somebody
* changes state/regions/classes.
*/
static gboolean
* gtk_style_context_new:
*
* Creates a standalone #GtkStyleContext, this style context
- * won't be attached to any widget, so you may want
+ * won’t be attached to any widget, so you may want
* to call gtk_style_context_set_path() yourself.
*
* This function is only useful when using the theming layer
* @context: a #GtkStyleContext
* @source: the #GtkIconSource specifying the icon to render
* @size: (type int): the size to render the icon at. A size of (GtkIconSize) -1
- * means render at the size of the source and don't scale.
+ * means render at the size of the source and don’t scale.
*
* Renders the icon specified by @source at the given @size, returning the result
* in a pixbuf.
* Side effects:
* The tag counts for node are modified to reflect its current
* child structure, as are its num_children, num_lines, num_chars fields.
- * Also, all of the childrens' parent fields are made to point
+ * Also, all of the childrens’ parent fields are made to point
* to node.
*
*----------------------------------------------------------------------
Summary *summary, *summary2;
/*
- * Zero out all the existing counts for the GtkTextBTreeNode, but don't delete
+ * Zero out all the existing counts for the GtkTextBTreeNode, but don’t delete
* the existing Summary records (most of them will probably be reused).
*/
node->num_chars = 0;
/*
- * Scan through the children, adding the childrens' tag counts into
- * the GtkTextBTreeNode's tag counts and adding new Summary structures if
+ * Scan through the children, adding the childrens’ tag counts into
+ * the GtkTextBTreeNode’s tag counts and adding new Summary structures if
* necessary.
*/
}
/*
- * Scan through the GtkTextBTreeNode's tag records again and delete any Summary
+ * Scan through the GtkTextBTreeNode’s tag records again and delete any Summary
* records that still have a zero count, or that have all the toggles.
* The GtkTextBTreeNode with the children that account for all the tags toggles
* have no summary information, and they become the tag_root for the tag.
if (node->level == summary->info->tag_root->level)
{
/*
- * The tag's root GtkTextBTreeNode split and some toggles left.
+ * The tag’s root GtkTextBTreeNode split and some toggles left.
* The tag root must move up a level.
*/
summary->info->tag_root = node->parent;
/*
* Iterate over the GtkTextBTreeNode and its ancestors up to the tag root, adjusting
- * summary counts at each GtkTextBTreeNode and moving the tag's root upwards if
+ * summary counts at each GtkTextBTreeNode and moving the tag’s root upwards if
* necessary.
*/
for ( ; node != info->tag_root; node = node->parent)
{
/*
- * See if there's already an entry for this tag for this GtkTextBTreeNode. If so,
+ * See if there’s already an entry for this tag for this GtkTextBTreeNode. If so,
* perhaps all we have to do is adjust its count.
*/
{
/*
* Should never find a GtkTextBTreeNode with max toggle count at this
- * point (there shouldn't have been a summary entry in the
+ * point (there shouldn’t have been a summary entry in the
* first place).
*/
else
{
/*
- * This tag isn't currently in the summary information list.
+ * This tag isn’t currently in the summary information list.
*/
if (rootLevel == node->level)
/*
* The old tag root is at the same level in the tree as this
- * GtkTextBTreeNode, but it isn't at this GtkTextBTreeNode. Move the tag root up
+ * GtkTextBTreeNode, but it isn’t at this GtkTextBTreeNode. Move the tag root up
* a level, in the hopes that it will now cover this GtkTextBTreeNode
- * as well as the old root (if not, we'll move it up again
+ * as well as the old root (if not, we’ll move it up again
* the next time through the loop). To push it up one level
* we copy the original toggle count into the summary
* information at the old root and change the root to its
}
/*
- * If we've decremented the toggle count, then it may be necessary
+ * If we’ve decremented the toggle count, then it may be necessary
* to push the tag root down one or more levels.
*/
while (node->level > 0)
{
/*
- * See if a single child GtkTextBTreeNode accounts for all of the tag's
+ * See if a single child GtkTextBTreeNode accounts for all of the tag’s
* toggles. If so, push the root down one level.
*/
*
* This is a utility procedure used by _gtk_text_btree_get_tags. It
* increments the count for a particular tag, adding a new
- * entry for that tag if there wasn't one previously.
+ * entry for that tag if there wasn’t one previously.
*
* Results:
* None.
}
/*
- * There isn't currently an entry for this tag, so we have to
+ * There isn’t currently an entry for this tag, so we have to
* make a new one. If the arrays are full, then enlarge the
* arrays first.
*/
* nodes.
*
* The guarantee is that if there are invalid lines the node is
- * invalid - we don't guarantee that if the node is invalid there
+ * invalid - we don’t guarantee that if the node is invalid there
* are invalid lines.
*/
ld = line->views;
while (ld != NULL)
{
- /* Just ensuring we don't segv while doing this loop */
+ /* Just ensuring we don’t segv while doing this loop */
ld = ld->next;
}
|| (seg->type == >k_text_left_mark_type))
{
/*
- * It's OK to toggle a tag off in the last line, but
- * not to start a new range. It's also OK to have marks
+ * It’s OK to toggle a tag off in the last line, but
+ * not to start a new range. It’s also OK to have marks
* in the last line.
*/